﻿<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<META name="keywords" content="$!config.keywords" />
<META name="description" content="$!config.description" />
<title>论坛管理 - 编辑关键字</title>
<link rel="stylesheet" href="skin/gold/css/reset.css" type="text/css" media="screen" />
<link rel="stylesheet" href="skin/gold/css/style.css" type="text/css" media="screen" />
<script type="text/javascript" src="res/js/jquery-1.7.1.min.js"></script>
<script type="text/javascript" src="res/js/common.js"></script>
<script type="text/javascript" src="skin/gold/js/html5.js"></script>
<script type="text/javascript" src="skin/gold/js/ikeke.js"></script>
<!--[if lte IE 6]>
<script type="text/javascript" src="skin/gold/js/DD_belatedPNG.js"></script>
<script type="text/javascript">
DD_belatedPNG.fix('a,a:hover,div,span,img,li');
</script>
<![endif]-->
<script>
function doSave()
{
if(doCheck())
{
if(EditForm.cid.value!="")EditForm.parameter.value="Updata";
EditForm.submit();
}
}
function doCheck()
{
if(EditForm.words.value=="")
{
alert("关键字不能为空！");
EditForm.title.focus();
return false;
}
}
return true;
}
function getValue(value)
{
if(EditForm.cid.value!=""){
	return "updata";
}else{
	return "add";
	}
}
</script>
</head>
<body>
<div id="container">
	<div id="asideback"></div>
	<div id="asideswitch"><div class="button"></div></div>
	#parse('/inc/left.htm')
	
	<div id="rightbody"><!-- 主体部分 -->
		<section id="wrapper">
			#parse('/inc/head.htm')
<form name="EditForm" method="post" action="/bbs/bbsfilter.do">
 <input type="hidden" name="parameter" #if ($id) value="updata" #else value="add" #end>
 <input type="hidden" name="cid"   value="$!id">
<table class="write1">
  <tr bgcolor="#FFFFFF"> 
    <td width="11%" height="29" align="center">关键字：</td>
    <td colspan="2"> <input name="banword" type="text" class="input3" id="banword" value="$!word" size="40"> 
      <span class="text-red4">关键字不超过20字</span></td>
  </tr>
  <tr bgcolor="#FFFFFF"> 
    <td height="30">&nbsp;</td>
    <td width="180"><input type="submit" name="Submit" value="保存" >　
      <input type="reset" name="Submit2" value="重置">
      　
      <input type="reset" name="Submit22" value="返回" onClick="history.go(-1);">
      </td>
    <td> 
    </td>
    </tr>
</table>
</form>
		</section>
	</div>
	
	#parse('/inc/foot.htm')
</div>
</body>
</html>
#if($msg)
<script>
alert('$!msg');
</script>
#end